{% extends "base.html" %}

{% block css %}
<link rel="stylesheet" href="/static/css/admin.css" />
{% endblock %}
{% block nav %}
   <div class="navbar navbar-fixed-top">
    <div class="navbar-inner">
      <div class="container">

        <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </a>
        <a class="brand" href="/admin/">Googler Admin</a>
        <div class="nav-collapse">
          <ul class="nav">

            <li class="active"><a href="/admin/">Home</a></li>
            
          </ul>
        </div>
      </div>
    </div>
  </div>
{% endblock %}
{% block content %}


<form class="form-horizontal" method="POST" action="/admin/manage_organization">
        <fieldset>
          <legend>Manage Curation Campaign</legend>
          <div class="control-group">
            <label for="input01" class="control-label">Name</label>
            <div class="controls">
              <input type="text" name="campaign_name" disabled="disabled" value="{{organization.name}}" id="input01" class="input-xlarge">              
            </div>
          </div>
          <div class="control-group">
            <label for="input01" class="control-label">Description</label>
            <div class="controls">
              <input type="text" name="description" disabled="disabled" value="{{organization.description}}" id="input01" class="input-xlarge">              
            </div>
          </div>
          <table class="table">
          <tr >
            <td>Partners</td>
            <td>{{ partners_count }}</td>
            <td><a class="btn" href="/admin/addpartners?org_key={{organization.key}}">Manage Partners</a></td>
          </tr>
          <tr >
            <td>Playlists</td>
            <td>{{ playlist_count }}</td>
            <td><a class="btn" href="/admin/addplaylists?org_key={{organization.key}}">Manage Playlists</a></td>
          </tr>
          <tr>
            <td>Curators</td>
            <td>{{curators_count}}</td>
            <td><a class="btn" href="/admin/addcurators?org_key={{organization.key}}">Manage Curators</a></td>
          </tr>
<tr>
            <td>Curator Tags</td>
            <td>{{tag_count}}</td>
            <td><a class="btn" href="/admin/manage_organization_tags?org_key={{organization.key}}">Manage Tags</a></td>
          </tr>
          </table>
        </fieldset>
      </form>

{% endblock %}
